package org.nanotek.cms.domain.document;

import java.util.List;

import org.nanotek.AbstractBase;
import org.nanotek.Base;

/**
 * REVIEW:
 * 
 * A relation of "references" URI normally that compose a "given Document Structure", different from Tika and Lucene 
 * this relation composes a internal structure of a document, it does not requires that the document being composed by 
 * specific format's (like HTML, images) but also "description of physical documents" (paper, draws, plants). 
 * 
 * 
 * 
 * @author josecanova
 *
 */
@SuppressWarnings("serial")
public class DocumentRelation extends AbstractBase<Base<Long>>{

	private MediaReference rootDocument;
	private List<MediaReference> documents;

	public DocumentRelation(){}

	public DocumentRelation(MediaReference rootDocument)
	{
		this.rootDocument = rootDocument;
	}


	public MediaReference getRootDocument() {
		return rootDocument;
	}

	public void setRootDocument(MediaReference rootDocument) {
		this.rootDocument = rootDocument;
	}

	public List<MediaReference> getDocuments() {
		return documents;
	}

	public void setDocuments(List<MediaReference> documents) {
		this.documents = documents;
	}
}
